FROM java:8-jre-alpine
ADD target/*.jar /app.jar
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh &&  echo $(date) > /image_built_at
RUN echo "Asia/Shanghai" > /etc/timezone
ENTRYPOINT ["/docker-entrypoint.sh"]